package com.net.xpay.web.vo;

import com.net.xpay.core.enums.BookAccountChargeOrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class BookAccountChargeOrderExVo {
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;

    @ApiModelProperty(notes = "转账金额 单位元 2位小数 2.00")
    private BigDecimal transAmount;

    @ApiModelProperty(notes = "safePayBookAccountId")
    private String safePayBookAccountId;

    @ApiModelProperty(notes = "系统外部订单号 user_id + '-' + id")
    private String outBizNo;

    @ApiModelProperty(notes = "外部订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "订单充值失效时间")
    private LocalDateTime timeExpire;

    @ApiModelProperty(notes = "支付时间")
    private String payDate;

    @ApiModelProperty(notes = "订单完成时间")
    private LocalDateTime endTime;

    @ApiModelProperty(notes = "订单状态")
    private BookAccountChargeOrderStatus status;

    private LocalDateTime createTime;

    /**
     * 汇款充值的通知数据
     */
    @ApiModelProperty(notes = "付款账号类型")
    private String payerIdentityType;

    @ApiModelProperty(notes = "付款账号")
    private String payerIdentity;

    @ApiModelProperty(notes = "充值来源 系统默认值AUTO")
    private String source;

    @ApiModelProperty(notes = "付款人姓名")
    private String payerName;

    @ApiModelProperty(notes = "充值来源 显示")
    private String showSource;

    @ApiModelProperty(notes = "显示付款账号")
    private String showPayerIdentity;

}
